home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3794 / 3794.xpi / chrome / content / settings.xul < prev    next >
Extensible Markup Language  |  2009-08-19  |  7KB  |  156 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://facebook/skin/settings.css" type="text/css"?>
  5.  
  6. <!DOCTYPE prefwindow SYSTEM "chrome://facebook/locale/settings.dtd">
  7.  
  8. <prefwindow id="facebook-settings"
  9.             title="&settings.window.title;"
  10.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.             type="prefwindow"
  12.             windowtype="facebookToolbar:Preferences"
  13.             dlgbuttons="cancel,accept"
  14.             onload="var btnAccept=document.documentElement.getButton('accept');btnAccept.hidden = btnAccept.disabled = false;"
  15.             >
  16.   <prefpane id="facebook-you-pane" label="&settings.panel.title;"
  17.             selected="true">
  18.     <preferences>
  19.       <!-- General Notifications Preferences -->
  20.       <preference name="extensions.facebook.notifications.toggle"
  21.                   type="bool"
  22.                   id="toggle"
  23.                   />
  24.       <preference name="extensions.facebook.notifications.growl"
  25.                   type="bool"
  26.                   id="growl"
  27.                   />
  28.  
  29.       <!-- Notifications About Me -->
  30.       <preference name="extensions.facebook.notifications.you.req"
  31.                   type="bool"
  32.                   id="you-req"
  33.                   />
  34.       <preference name="extensions.facebook.notifications.you.msg"
  35.                   type="bool"
  36.                   id="you-msg"
  37.                   />
  38.       <preference name="extensions.facebook.notifications.you.poke"
  39.                   type="bool"
  40.                   id="you-poke"
  41.                   />
  42.       <preference name="extensions.facebook.notifications.you.friend"
  43.                   type="bool"
  44.                   id="you-friend"
  45.                   />
  46.       <preference name="extensions.facebook.notifications.you.event.inv"
  47.                   type="bool"
  48.                   id="you-event-inv"
  49.                   />
  50.       <preference name="extensions.facebook.notifications.you.group.inv"
  51.                   type="bool"
  52.                   id="you-group-inv"
  53.                   />
  54.       <preference name="extensions.facebook.notifications.you.share"
  55.                   type="bool"
  56.                   id="you-share"
  57.                   />
  58.       <preference name="extensions.facebook.notifications.you.site"
  59.                   type="bool"
  60.                   id="you-site"
  61.                   />
  62.  
  63.       <!-- Notifications About My Friends -->
  64.       <preference name="extensions.facebook.notifications.friend.profile"
  65.                   type="bool"
  66.                   id="friend-profile"
  67.                   />
  68.       <preference name="extensions.facebook.notifications.friend.status"
  69.                   type="bool"
  70.                   id="friend-status"
  71.                   />
  72.       <preference name="extensions.facebook.notifications.friend.album"
  73.                   type="bool"
  74.                   id="friend-album"
  75.                   />
  76.       <preference name="extensions.facebook.notifications.friend.wall"
  77.                   type="bool"
  78.                   id="friend-wall"
  79.                   />
  80.       <preference name="extensions.facebook.notifications.friend.note"
  81.                   type="bool"
  82.                   id="friend-note"
  83.                   />
  84.       <preference name="extensions.facebook.notifications.upload.complete"
  85.                   type="bool"
  86.                   id="upload-complete"
  87.                   />
  88.  
  89.     </preferences>
  90.  
  91.     <vbox>
  92.       <checkbox preference="toggle" label="&settings.notificationmes.enable.label;"/>
  93.       <groupbox>
  94.         <label class="header" value="&settings.notificationme.header.label;" />
  95.         <hbox>
  96.           <groupbox id="facebook-notifications-youbox">
  97.             <caption label="&settings.notificationme.about.label;"/>
  98.             <checkbox preference="you-req"       label="&settings.notificationme.friendreq.label;"/>
  99.             <checkbox preference="you-msg"       label="&settings.notificationme.message.label;"/>
  100.             <checkbox preference="you-poke"      label="&settings.notificationme.poke.label;"/>
  101.             <checkbox preference="you-friend"    label="&settings.notificationme.friend.label;"/>
  102.             <checkbox preference="you-event-inv" label="&settings.notificationme.event.label;"/>
  103.             <checkbox preference="you-group-inv" label="&settings.notificationme.group.label;"/>
  104.             <checkbox preference="you-share"     label="&settings.notificationme.share.label;"/>
  105.             <checkbox preference="you-site"
  106.                       label="&settings.notificationme.other.label;"/>
  107.           </groupbox>
  108.  
  109.           <vbox>
  110.             <groupbox id="facebook-notifications-friendbox">
  111.               <caption label="&settings.notificationfriend.about.label;"/>
  112.               <checkbox preference="friend-profile" label="&settings.notificationfriend.profile.label;"/>
  113.               <checkbox preference="friend-status"  label="&settings.notificationfriend.status.label;"/>
  114.               <checkbox preference="friend-album"   label="&settings.notificationfriend.albums.label;"/>
  115.               <checkbox preference="friend-wall"    label="&settings.notificationfriend.wall.label;"/>
  116.               <checkbox preference="friend-note"    label="&settings.notificationfriend.note.label;"/>
  117.             </groupbox>
  118.             <groupbox id="facebook-notifications-other">
  119.               <caption label="&settings.notificationother.about.label;"/>
  120.               <checkbox preference="upload-complete" label="&settings.notificationother.upload.label;"/>
  121.           </groupbox>
  122.           </vbox>
  123.         </hbox>
  124.       </groupbox>
  125.  
  126.       <groupbox id="facebook-notifications-method">
  127.         <label class="header" value="&settings.notification.type.label;" />
  128.         <radiogroup preference="growl">
  129.           <radio label="&settings.notification.native.label;"
  130.                  value="false" />
  131.           <radio label="&settings.notification.firefox.label;"
  132.                  value="true" />
  133.         </radiogroup>
  134.  
  135.         <!-- Help Text can't be included because Mac firefox doesn't
  136.              account for text overflow when sizing the dialog, so
  137.              the bottom of the prefs dialog gets cut off!
  138.              <description flex="10">
  139.                The appearance of Firefox's built-in notification windows
  140.                varies from platform to platform.
  141.                On Windows, a small window slides up from taskbar,
  142.                pauses for a few seconds, then slides down.
  143.                On Mac OS X, built-in Firefox alerts are delivered via the
  144.                Growl application, which allows customization of appearance and
  145.                on-screen duration.
  146.                (<label href="http://growl.info/about.php"
  147.                        class="text-link small-margin"
  148.                        style="font-size: 9px;">What is Growl</label>).
  149.              </description>
  150.              -->
  151.       </groupbox>
  152.     </vbox>
  153.   </prefpane>
  154.  
  155. </prefwindow>
  156.